body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, sans-serif;
    background-color: #f9f9f9;
    color: #333;
}

.site-header {
    background-color: #4CAF50;
    color: white;
    padding: 20px 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.site-title {
    margin: 0;
    font-size: 1.8rem;
}

.login-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.login-status {
    margin-right: 10px;
}

.user-info-button,
.logout-button,
.register-button {
    background-color: #ffffff33;
    color: white;
    padding: 8px 14px;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    font-size: 0.95rem;
}

.register-button {
    background-color: #007BFF;
}

.user-info-button:hover,
.logout-button:hover,
.register-button:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

.main-content {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

.welcome-section,
.nav-section,
.form-section {
    background-color: white;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.nav-links {
    list-style: none;
    padding-left: 0;
}

.nav-links li {
    margin-bottom: 10px;
}

.nav-links a {
    color: #4CAF50;
    text-decoration: none;
    font-weight: bold;
}

.nav-links a:hover {
    text-decoration: underline;
}

.form-container {
    display: flex;
    flex-direction: column;
}

.form-container label {
    margin: 10px 0 5px;
    font-weight: bold;
}

.form-container input {
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
    margin-bottom: 15px;
}

.form-container button {
    padding: 10px;
    background-color: #4CAF50;
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.form-container button:hover {
    background-color: #45a049;
}

.site-footer {
    text-align: center;
    padding: 15px;
    background-color: #eee;
    font-size: 0.9rem;
    color: #555;
}

.online-count-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #4CAF50;
    color: white;
    padding: 12px 20px;
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    font-size: 0.95rem;
    z-index: 1000;
}
